///:JavawebException.java
package cn.weyoungstudio.hwes.exception;

/**
 * 自定义异常，用于标识开发者产生的异常，以区分系统异常
 *
 * @author icechen1219
 * @date 2020/04/15
 */
public class JavaWebException extends RuntimeException {

    public JavaWebException() {
        super("你后台挂了...");
    }

    public JavaWebException(String errorMsg) {
        super(errorMsg);
    }

    public JavaWebException(Throwable rootCause) {
        super("你后台挂了...因为下列原因：", rootCause);
    }

    public JavaWebException(String errorMsg, Throwable rootCause) {
        super(errorMsg, rootCause);
    }
}
///:JavawebException.java
